<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%String contextPath = request.getContextPath();%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<script language="JavaScript" type="text/JavaScript">
function getType(){
	document.forms[0].action = "<%=contextPath%>/typeManage/getAllType.action"; 
	document.forms[0].submit();
}

function registerStaff(){
	document.forms[0].action = "<%=contextPath%>/adminlogin/getAllAuth.action"; 
	document.forms[0].submit();
}

function getAllStaff(){
	document.forms[0].action = "<%=contextPath%>/adminlogin/getALlStaff.action"; 
	document.forms[0].submit();
}

function registerMember(){
	
}

</script>
</head>



<body>
<center>
<h3>登录成功</h3>
登录人：${staffInfoEntity.title}    ${nowTime}
</center>

<form method="post" name="from1" id="from1">
<button onclick="getType()">类别维护</button><br />
<button onclick="registerStaff()">注册管理员账号</button><br />
<button onclick="getAllStaff()">获取管理者列表</button><br />

<button onclick="registerMember(${pageContext.request.contextPath}/jsp/registerMember.jsp)">注册会员</button>
</form>


</body>
</html>

